
package com.sausageking.client.consumer;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.SimplePanel;
import com.sausageking.client.consumer.gin.MobileGinjector;

public class MobileEntryPoint implements EntryPoint {

  private SimplePanel appWidget = new SimplePanel();

  private MobileGinjector injector = GWT.create(MobileGinjector.class);

  public void onModuleLoad() {
    injector.getActivityManager().setDisplay(appWidget);
    RootPanel.get().add(appWidget);
    injector.getPlaceHistoryHandler().handleCurrentHistory();
    
  }
}
